package com.blb.article_ms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.article_ms.entity.po.ArticlePO;
import com.blb.article_ms.entity.vo.ArticleVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xray
 * @since 2023-06-14
 */
public interface IArticleService extends IService<ArticlePO> {

    /**
     * 文章的模糊查询+分页
     */
    Page<ArticleVO> getArticlePage(Long current, Long size, String title, String content);

    void removeArticle(Long id);
}
